import { Message } from 'element-ui'
export const mobileregular = (value: string)=>{
    const reg =/^[1][3,4,5,7,8][0-9]{9}$/;
    if(!reg.test(value)){
        return Message.error('电话号码格式不正确')
    }
}